﻿namespace Chapter03.DesginMode {
    /// <summary>
    /// 摩卡
    /// </summary>
    public class Mocha(Beverage beverage) : CondimentDecorator {
        public Beverage Beverage { get; set; } = beverage;

        public override string Description => Beverage.Description + "，摩卡";

        public override decimal Cost => .20M + Beverage.Cost;
    }
}
